﻿
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Util.DTO.OnlineChat
{
    public class UserSendChatDTO
    {
        public string roomId { set; get; }

        public int messageType { set; get; }
        public string messageContent { set; get; }
        public string messageName { set; get; }
        public string messageSize { set; get; }
        public bool? vstate { set; get; } = false;

    }

    public class GetMassageDTO
    {
        public string userId { get; set; }
        public string roomId { get; set; }
        public DateTime? stime { get; set; }
        public int page { get; set; } = 1;
        public int row { get; set; } = 10;
    }

    public class ChatLogDTO
    {
        public string Id { set; get; }
        /// <summary>
        /// 人员类型(0.自己,1.对方)
        /// </summary>
        public int userType { set; get; }
        /// <summary>
        /// 头像
        /// </summary>
        public string headPortrait { set; get; }
        /// <summary>
        /// 头像类型
        /// </summary>
        public int? headImgType { set; get; }
        /// <summary>
        /// 名称
        /// </summary>
        public string nickName { set; get; }
        /// <summary>
        /// 名称
        /// </summary>
        public string nickNames { set; get; }
        /// <summary>
        /// 消息类型
        /// </summary>
        public int messageType { set; get; }
        /// <summary>
        /// 消息内容
        /// </summary>
        public string messageContent { set; get; }
        //创建时间
        public DateTime createTime { set; get; }

        /// <summary>
        /// 创建时间字符串
        /// </summary>
        public string createTimes { set; get; }
        /// <summary>
        /// 消息名称
        /// </summary>
        public string messageName { set; get; }
        /// <summary>
        /// 消息大小
        /// </summary>
        public string messageSize { set; get; }
        /// <summary>
        /// 语音状态
        /// </summary>
        public Boolean? vstate { set; get; }

        /// <summary>
        /// 自动回复模型
        /// </summary>
        public AutoReplyDTO auto_Model { set; get; }

        /// <summary>
        /// 自动回复二级详情模型
        /// </summary>
        public Base_AutoReplyDetailDTO detailModel { set; get; }
    }

    public class Base_AutoReplyDetailDTO
    {
        public string contents { set; get; }

        public DateTime createTime { set; get; }

        public string id { set; get; }

        public string replyId { set; get; }
    } 


    public class ChatLogListDTO
    {
        /// <summary>
        /// 聊天记录列表
        /// </summary>
        public List<ChatLogDTO> MList { set; get; }

        //记录数量
        public int MCount { set; get; }
    }
}
